/**
 * Created by IntelliJ IDEA.
 * User: Liu Yuhong
 * Date: 12-10-25
 * Time: 下午5:05
 * Subpage tender page functions.
 */

$(function() {
    var menuGroups = [
        {
            'menuId': "tenderMenu",
            'menuTitle': getLanMsg("0ec22400-000078"),
            'iconImg': null,
            'items': [
                {
                    'itemId': "tenderMenuItem1",
                    'itemUrl': ".",
                    'itemName': getLanMsg("0ec22400-000079"),
                    'callback':function(){
           	          alert("Test: Callback function here");
                   }
                },
                {
                    'itemId': "tenderMenuItem2",
                    'itemUrl': "/ebvp/other/sendNoticeList",
                    'itemName': getLanMsg("0ec22400-000080"),
                    'callback':function(){
           	           alert("Test: Callback function here");
                    }
                   
                    
                },
                {
                    'itemId': "tenderMenuItem3",
                    'itemUrl': "/ebvp/other/sendPlanList?menuid=37",
                    'itemName': getLanMsg("0ec22400-000081"),
                    'callback':function(){
           	           alert("Test: Callback function here");
                    }
                   
                    
                },
                {
                    'itemId': "tenderMenuItem4",
                    'itemUrl': ".",
                    'itemName': getLanMsg("0ec22400-000082"),
                    'callback':function(){
                	     alert("Test: Callback function here");
                     }
                   
                    
                },
                {
                    'itemId': "tenderMenuItem5",
                    'itemUrl': "/ebvp/infopub/viewfile?menuid=48",
                    'itemName': getLanMsg("0ec22400-000083"),
                    'callback': function() {windows.open(itemUrl);return false;}
                   
                    
                }
            ]
        }
    ];

    /* 左侧菜单栏 */
    $( "#columnLeft" ).UIColumnMenu({
        'menuGroups': menuGroups,
        'menuHeight': 438,
        'singleGroup': true
    });

});
